projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dee88aa
)
libxc: colo: don't leak pfns and iov in send_checkpoint_dirty_pfn_list
author
Wei Liu
<wei.liu2@citrix.com>
Mon, 4 Apr 2016 17:34:05 +0000
(18:34 +0100)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Wed, 6 Apr 2016 13:50:46 +0000
(14:50 +0100)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_sr_restore.c
patch
|
blob
|
history
diff --git
a/tools/libxc/xc_sr_restore.c
b/tools/libxc/xc_sr_restore.c
index 728edbc009356672a7706765ca3d14e2c6cd7691..3549f0a1ae61d91096279baba6f4371db8ba6624 100644
(file)
--- a/
tools/libxc/xc_sr_restore.c
+++ b/
tools/libxc/xc_sr_restore.c
@@
-494,6
+494,8
@@
static int send_checkpoint_dirty_pfn_list(struct xc_sr_context *ctx)
rc = 0;
err:
+ free(pfns);
+ free(iov);
return rc;
}